<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>在js中写template</title>
    <style>
        h3 {
            color: red;
        }
    </style>
    <script defer src="TodoItem.js"></script>
</head>
<body>
<h3>hello world</h3>
<todo-item>Todo one</todo-item>
</body>
</html>